Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Abstract Window Toolkit Control Functions /


JMNewAWTContext

Creates an AWT context.

OSStatus JMNewAWTContext (
                     JMAWTContextRef* context,
                     JMSessionRef session,
                     const JMAWTContextCallbacks* callbacks,
                     JMClientData data);
context
A pointer to the AWT context. On return this parameter is the new AWT context.
session
The session in which you want to create the AWT context.
callbacks
A pointer to the context's callbacks. See "AWT Context Callbacks Structure" (page 47) for more information.
data
Any optional client-specific data.
function result
A result code. See "JManager Result Codes" (page 108) for a list of result codes that JManager may return in this field.
DISCUSSION
The new AWT context is in a suspended state, so you must call the JMResumeAWTContext function to start its thread.

SEE ALSO
"Creating an AWT Context" (page 13).

The JMDisposeAWTContext function (page 63).

The JMResumeAWTContext function (page 64).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997